/**
 * @projectName CollegeEmploymentNetwork
 * @package com.kzj.CollegeEmploymentNetwork.shiro.exception
 * @className com.kzj.CollegeEmploymentNetwork.shiro.exception.ServerException
 * @copyright Copyright 2025 Thunisoft, Inc All rights reserved.
 */
package com.kzj.CollegeEmploymentNetwork.exception;

import lombok.Getter;

/**
 * ServerException
 * @description
 * @author KZJ
 * @date 2025/1/24 20:18
 * @version TODO
 */
@Getter
public class ServerException extends RuntimeException{
    public String message;
    public ServerException(Exception e){
        super(e);
        this.message=e.getMessage();
    }
    public ServerException(Exception e,String message){
        super(e);
        this.message=message;
    }
}